﻿// Project UnitTests
// Created by CodeBorn, TV-42, NTUU "KPI" on 30.06.2016
// Updated on 30.06.2016

using NUnit.Framework;
using Vk.Methods.Friends;

namespace UnitTests
{
    [TestFixture]
    public class FriendsTests : TestsBase
    {
        [Test]
        public void GetTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("Get"), "http://vk.com/dev/friends.get");
        }

        [Test]
        public void GetOnlineTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("GetOnline"), "http://vk.com/dev/friends.getOnline");
        }

        [Test]
        [ExcludeParameters("order")]
        public void GetMutualTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("GetMutual"), "http://vk.com/dev/friends.getMutual");
        }

        [Test]
        public void GetRecentTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("GetRecent"), "http://vk.com/dev/friends.getRecent");
        }

        [Test]
        public void GetRequestsTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("GetRequests"), "http://vk.com/dev/friends.getRequests");
        }

        [Test]
        public void AddTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("Add"), "http://vk.com/dev/friends.add");
        }

        [Test]
        public void EditTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("Edit"), "http://vk.com/dev/friends.edit");
        }

        [Test]
        public void DeleteTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("Delete"), "http://vk.com/dev/friends.delete");
        }

        [Test]
        public void GetListsTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("GetLists"), "http://vk.com/dev/friends.getLists");
        }

        [Test]
        public void AddListTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("AddList"), "http://vk.com/dev/friends.addList");
        }

        [Test]
        public void EditListTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("EditList"), "http://vk.com/dev/friends.editList");
        }

        [Test]
        public void DeleteListTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("DeleteList"), "http://vk.com/dev/friends.deleteList");
        }

        [Test]
        public void GetAppUsersTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("GetAppUsers"), "http://vk.com/dev/friends.getAppUsers");
        }

        [Test]
        public void GetByPhonesTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("GetByPhones"), "http://vk.com/dev/friends.getByPhones");
        }

        [Test]
        public void DeleteAllRequestsTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("DeleteAllRequests"), "http://vk.com/dev/friends.deleteAllRequests");
        }

        [Test]
        public void GetSuggestionsTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("GetSuggestions"), "http://vk.com/dev/friends.getSuggestions");
        }

        [Test]
        public void AreFriendsTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("AreFriends"), "http://vk.com/dev/friends.areFriends");
        }

        [Test]
        public void GetAvailableForCallTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("GetAvailableForCall"), "http://vk.com/dev/friends.getAvailableForCall");
        }

        [Test]
        public void SearchTest()
        {
            IsSignatureUpdated(typeof(Friends).GetMethod("Search"), "http://vk.com/dev/friends.search");
        }
    }
}